#include <stdio.h>
#include <string.h>
#include <stdlib.h>
int main(int argc,char* argv[])
{
    printf("环境变量，fuckall:%s",getenv("fuckall"));
    printf("环境变量测试，PATH:%s",getenv("PATH"));
    if(argc != 2)
    {
        printf("can no execute\n");
        exit(1);
    }
    if(strcmp(argv[1],"-a") == 0)
    {
        printf("code a\n");
    }
    else if(strcmp(argv[1],"-b") == 0)
    {
        printf("code b\n");
    }
    else 
    {
        printf("default\n");
    }
   return 0; 
}
